inspector: Fix up input enum names
authorMatthias Clasen <mclasen@redhat.com>
Mon, 13 Jul 2020 21:13:43 +0000 (17:13 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 13 Jul 2020 21:13:43 +0000 (17:13 -0400)
We've recently added and removed a few values in these
enumerations. Keep the names in sync, so we don't show
nonsense.

gtk/inspector/general.c

index be31eaa0ddd5d81f567e52a63072bd8de11d3bdf..2d09efeb40b90a6ec738a8a0cfbc9889275251b0 100644 (file)
@@ -681,6 +681,8 @@ add_device (GtkInspectorGeneral *gen,
     "Ignore",
     "X",
     "Y",
+    "Delta X",
+    "Delta Y",
     "Pressure",
     "X Tilt",
     "Y Tilt",
@@ -692,7 +694,6 @@ add_device (GtkInspectorGeneral *gen,
   const char *source_name[] = {
     "Mouse",
     "Pen",
-    "Eraser",
     "Cursor",
     "Keyboard",
     "Touchscreen",